import 'package:flutter/material.dart';
import 'counter_demo.dart';
import 'home_with_app_bar_drawer_demo.dart';
import 'dynamic_tabbar_demo.dart';
import 'package:get/get.dart';
import 'package:my_first_flutter_app/base_widgets/align_demo.dart';
import 'package:my_first_flutter_app/base_widgets/aspect_ratio_demo.dart';
import 'package:my_first_flutter_app/base_widgets/baseline_demo.dart';
import 'package:my_first_flutter_app/base_widgets/center_demo.dart';
import 'package:my_first_flutter_app/base_widgets/constrained_box_demo.dart';
import 'package:my_first_flutter_app/base_widgets/container_demo.dart';
import 'package:my_first_flutter_app/base_widgets/flex_demo.dart';
import 'package:my_first_flutter_app/base_widgets/flexible_demo.dart';
import 'package:my_first_flutter_app/base_widgets/transform_demo.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return GetMaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: const ColorScheme.highContrastDark(),
        useMaterial3: true,
      ),
      // home:TransformDemo(),
     home:FlexiableDemo(),
      // home:FlexDemo(),
      // home:ContainerDemo(),
      // home: ConstrainedBoxDemo(),
      //home: CenterDemo(),
      //home: BaselineDemo(),
      //home: AspectRatioDemo(),
      // home: AlignDemo()
      //  home: const DynamicTabBarDemo(title:"这是一个测试项目")
      //home: const AppBarWithDrawer(title: "这是一个测试项目")
      //home: CounerDemo()
      //home: const RouterTestRoute()
      //home: const MyHomePage(title: 'Flutter Demo Home PageXXX'),
    );
  }
}
